﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GGEditor.API.Editors;

namespace GGEditor.API.Samples.TileEditor
{
    public class Model : IEditorModel
    {
        private short[,] tiles;
        public short this[int x, int y] { get { return tiles[x, y]; } }

        public Model()
        {
            int width = 20;
            int height = 20;
            tiles = new short[width, height];
        }

        #region Implementation of IEditorModel

        public event EditorModelChangedHandler ModelChanged;

        #endregion
    }
}
